require 'watir'
#$ie = Watir::IE.attach(:title,"Welcome to Oracle CRM On Demand")
$ie = Watir::IE.attach(:title,"Home - Oracle CRM On Demand")
#@@ie = $ie.div(:id,"Global Search Multi FieldDiv")

class Quick_Search
@@ie = $ie.div(:id,"header")
#  @@ie = $ie.div(:id,"Global Search Multi FieldDiv")
#  def initialize
  #  @ie = $ie.div(:id,"Global Search Multi FieldDiv")
  #end
  def self.select_box
    return @@ie.select_list(:index=>1)
  end
  def self.link
    return @@ie.link(:text,"Admin")
  end

#puts @@ie
end
Quick_Search.link.click
#puts @@ie